package com.mk.api.open.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

import javax.annotation.Resource;

/**
 * 〈〉
 *
 * @author renqingqing
 * @create 2020/10/20
 */
@Configuration
public class MtWebConfigurerAdapter implements WebMvcConfigurer {
    @Resource
    private MtBrandHandlerInterceptor mtBrandHandlerInterceptor;

    @Override
    public void addInterceptors(InterceptorRegistry registry) {
        //registry.addInterceptor(mtBrandHandlerInterceptor).addPathPatterns("/mt/waimai/v2/order/**");
    }
}
